Additional Type Definitions

Boolean Enumerated Types

Text
Binary
False
0x00000000
True
0x00000001

Variable-Sized Integer Types

We define two variable-sized integer types Uns and Int. These integer types are used primarily to pack arrays of indices. Objects must be padded to the next long word whenever these integer types are used.

Use of Uns in packing should accord with the following conventions. If the maximum index value is less than 256, use Uns8. If the maximum index value is greater than or equal to 256 and less than or equal to 65,536, use Uns16. If the maximum index value is greater than or equal to 65,536, use Uns32.

Use of Int in packing should accord with the following conventions. If the maximum index value is greater than or equal to -127 and less than or equal to 128, use Int8. If the maximum index value is greater than or equal -32,767 and less than or equal to -127, use Int16. If the maximum index value is less than -32,767 or greater than or equal to 32,768, use Int32.


3D Metafile Reference
© Apple Computer, Inc.